package com.example.demo.domain.result.helper;

import lombok.AllArgsConstructor;
import lombok.Data;
import java.util.ArrayList;

/**
 * @author lizijian
 */
@Data
@AllArgsConstructor
public class Course {

    /**
     * id不为空则为自定义课程，反之则为原教务系统课程
     */
    private Integer id;
    private String courseName;
    public ArrayList<Time> timeArrayList;

    public Course() {
        timeArrayList=new ArrayList<>(10);
    }
    public Course(String courseName,ArrayList<Time> timeArrayList){
        this.courseName=courseName;
        this.timeArrayList=timeArrayList;
    }
}
